package com.demo.component.runnable;

import org.springframework.messaging.support.MessageBuilder;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 将APP信息发送到鉴权中心
 */
public class TestRunnable implements Runnable {

    private String info;

    public TestRunnable(String info) {
        this.info = info;
    }

    @Override
    public void run() {
        try {
//            source.output().send(MessageBuilder.withPayload(info).build());
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
